<?php

function GetFolders(  )
{
	// Map the virtual path to the local server path.
	$sServerDir = 'uploads/Image/';

	// Open the "Folders" node.
	echo "<Folders>" ;

	echo   $sServerDir;

	$oCurrentFolder = opendir( $sServerDir ) ;

	while ( $sFile = readdir( $oCurrentFolder ) )
	{
		if ( $sFile != '.' && $sFile != '..' && is_dir( $sServerDir . $sFile ) )
			echo '<Folder name="' . $sFile . '" />' ;
	}

	closedir( $oCurrentFolder ) ;

	// Close the "Folders" node.
	echo "</Folders>" ;
}


?>



<?php 



//$info = gd_info();

//print_r($info);

// require_once 'include/inc.config.php';
//print 'WACT_PATH:'.WACT_PATH;

//if ( file_exists( '/uploads/Image/' ) ) echo 'YES!!!';


echo phpinfo();

//GetFolders( );


?>

